import request from '../https/request';
//登录验证
export const loginOn= (data)=>{
    console.log("========getLogin==========")
   return request({
        url:'/login',//http://localhost:9090/owep/login
        method:'post',
        data:data
    })
}
// *************获取所有日志信息
export const getLogList= (data)=>{
    console.log("========getLogList==========")
   return request({
        url:'../json/logList.json',                     
        method:'get',      
    })
}
// *************获取所有图书信息
export const getBookList= (data)=>{
    console.log("========getBookList==========")
   return request({
        url:'../json/bookList.json',                     
        method:'get',      
    })
}